package com.vip.buycart.entity;

import java.util.Date;

import com.vip.framework.generic.BaseBean;

/**
 * 订单实体
 * 
 * @author sai
 *
 */
public class FormOrder extends BaseBean {
   
	/**
	 * 
	 */
	private static final long serialVersionUID = 7690135398390027048L;
	
	private String orderCode; /*订单编号,:生成规则=年月日小时分钟+001递增*/
    private User userInfo;  /*用户ID  --关联到用户表 */
    private String orderState; /*订单状态 0:无效; 1:有效; 2:撤消 这个订单状态可以考虑用classType解决*/
    private Double orderPrice; /*订单总价*/
    private Date orderTime; /*订单日期*/

	/**
	 * @return the orderCode
	 */
	public String getOrderCode() {
		return orderCode;
	}
	/**
	 * @param orderCode the orderCode to set
	 */
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	/**
	 * @return the orderPrice
	 */
	public Double getOrderPrice() {
		return orderPrice;
	}
	/**
	 * @param orderPrice the orderPrice to set
	 */
	public void setOrderPrice(Double orderPrice) {
		this.orderPrice = orderPrice;
	}
	public String getOrderState() {
		return orderState;
	}
	public void setOrderState(String orderState) {
		this.orderState = orderState;
	}
	public Date getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}
	/**
	 * @return the userInfo
	 */
	public User getUserInfo() {
		return userInfo;
	}
	/**
	 * @param userInfo the userInfo to set
	 */
	public void setUserInfo(User userInfo) {
		this.userInfo = userInfo;
	}


    
}
